package com.magic233.entity;

import java.util.List;

public class Users {
    private Long id;

    private String phone;

    private String username;

    private String password;

    private String code;

    private String dept;

    private String power;

    private List<String> role;

    private String openid;

    private Integer deleted;

    public Users(Long id, String phone, String username, String password, String code) {
        this.id = id;
        this.phone = phone;
        this.username = username;
        this.password = password;
        this.code = code;
    }

    public Users() {

    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<String> getRole() {
        return role;
    }

    public void setRole(List<String> role) {
        this.role = role;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", code='" + code + '\'' +
                ", dept='" + dept + '\'' +
                ", power='" + power + '\'' +
                ", role=" + role +
                ", openid='" + openid + '\'' +
                ", deleted=" + deleted +
                '}';
    }
}
